
import React, {Fragment, useEffect} from 'react'
import { Button } from 'antd';

function DashBoard(props) {

  useEffect(() =>
    // componentWillUnmount()
    () => {
      console.log('组件卸载......')
    }
  , [])
  return (
    <Fragment>
        一般般
      <Button type="primary">Button</Button>
    </Fragment>
  )
}

export default DashBoard
